TELDialDigits
Generates dual-tone multiple frequency (DTMF) tones.
pascal TELErr TELDialDigits ( TELCAHandle hTELCA, ConstStr255Param digits);
hTELCA
- A handle to a call appearance structure. You provide the handle you obtained from the
TELSetupCall
function (page 4-24).digits
- A pointer to a Pascal-style string containing a sequence of ASCII digits.
- function result
- A result code. If you pass an invalid handle in the
hTELCA
parameter, the function returns thetelBadCAErr
result code.DESCRIPTION
TheTELDialDigits
function generates DTMF tones on the existing call specified by thehTELCA
parameter. You can use the tones to navigate automated systems that allow a caller to do such things as check an account balance, get schedule and price information about a tourist attraction, and so forth.
- Note
- Although the
TELConnect
function (page 4-27) is the recommended method of placing an outgoing call, you can useTELDialDigits
instead if you previously did not provide a complete destination phone number to theTELSetupCall
function (page 4-24). In that case, if you provided a partial destination phone number toTELSetupCall
, set the string pointed to by thedigits
parameter to the remaining portion. If you provided no number toTELSetupCall
, set it to the full destination phone number. ThenoErr
result code indicates that the telephone tool is attempting to place the call.![]()
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help